package eteam.aps.model.export.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * ClassName Inventory
 *
 * @author Ll
 * @since 2025/6/9
 * Description 存货查询
 */
@Getter
@Setter
@ApiModel(value = "存货查询")
public class InventoryExport {
    @ApiModelProperty(value = "存货编码")
    @ExcelProperty(value = "存货编码", index = 0)
    private String invCode;
    @ApiModelProperty(value = "存货名称")
    @ExcelProperty(value = "存货名称", index = 1)
    private String invName;
    @ApiModelProperty(value = "规格型号")
    @ExcelProperty(value = "规格型号", index = 2)
    private String invStd;
    @ApiModelProperty(value = "仓库名称")
    @ExcelProperty(value = "仓库名称", index = 3)
    private String whName;
    @ApiModelProperty(value = "仓库代码")
    @ExcelProperty(value = "仓库代码", index = 4)
    private String whCode;
    @ApiModelProperty(value = "单位")
    @ExcelProperty(value = "单位", index = 5)
    private String comUnitName;
    @ApiModelProperty(value = "现存数量")
    @ExcelProperty(value = "现存数量", index = 6)
    private Integer quantity;
    @ApiModelProperty(value = "货位")
    @ExcelProperty(value = "货位", index = 7)
    private String posCode;
    @ApiModelProperty(value = "货位名称")
    @ExcelProperty(value = "货位名称", index = 8)
    private String posName;
    @ApiModelProperty(value = "批号")
    @ExcelProperty(value = "批号", index = 9)
    private String batch;
    @ApiModelProperty(value = "版本")
    @ExcelProperty(value = "版本", index = 10)
    private String free;
    @ApiModelProperty(value = "生产日期")
    @ExcelProperty(value = "生产日期", index = 11)
    private String madeDate;
    @ApiModelProperty(value = "失效日期")
    @ExcelProperty(value = "失效日期", index = 12)
    private String dvDate;
    @ApiModelProperty(value = "入库时间")
    @ExcelProperty(value = "入库时间", index = 13)
    private LocalDateTime currentTime;
    @JsonIgnore
    @ExcelProperty(value = "入库条码", index = 14)
    private String barCode;
}
